import request from '@/utils/myHttp'

// api地址
const api = {
  share: '?s=/api/User/mpQrcode',
  recommend: '?s=/api/User/getTjrList'
}

// 当前登录的用户信息
export const share = (option) => {
  const options = {
	  url: api.share,
	  data: option
  }
  return request(options)
}

// 直推列表
export const recommend = (option) => {
  const options = {
	  url: api.recommend,
	  data: option
  }
  return request(options)
}